/*
 * @Author: your name
 * @Date: 2022-03-07 11:43:00
 * @LastEditTime: 2022-03-22 09:14:12
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue_xiaoqi\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import moment from 'moment'
Vue.use(require('vue-moment'));
Vue.prototype.moment = moment
Vue.config.productionTip = false
Vue.filter('dateYMDHMSFormat',function(dateStr,pattern='YYYY-MM-DD HH:mm:ss'){
  return moment(dateStr).format(pattern);
})
new Vue({
  render: h => h(App),
  beforeCreate() {
		Vue.prototype.$bus = this
	},
}).$mount('#app')
